@charset "UTF-8";
.page-banner {
  width: 100%;
  height: 200px;
  background-repeat: no-repeat;
  background-position: center top;
}
// 图片旋转
%img-rotate, .img-rotate {
  figure {
	width: 100%;
	height: auto;
	overflow: hidden;
	img {
	  -webkit-transition: all 1s ease;
	  -moz-transition: all 1s ease;
	  transition: all 1s ease;
	  display: block;
	  //height: 100%;
	  width: 100%;
	}
  }
  &:hover img {
	-webkit-transform: scale(1.2) translateX(5px) rotate(5deg);
	-moz-transform: scale(1.2) translateX(5px) rotate(5deg);
	-ms-transform: scale(1.2) translateX(5px) rotate(5deg);
	-o-transform: scale(1.2) translateX(5px) rotate(5deg);
	transform: scale(1.2) translateX(5px) rotate(5deg);
  }
}

// 图片曲线阴影 & 翘边阴影
%img-shadow, .img-shadow {
  figure {
	width: 100%;
	position: relative;
	background: #fff;
	@include box-shadow(0 1px 4px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 0, 0, 0.1) inset);
	border: 5px solid #fff;
	&:before {
	  content: '';
	  position: absolute;
	  bottom: 8px;
	  left: 20px;
	  z-index: -2;
	  width: 90%;
	  height: 80%;
	  background: transparent;
	  @include box-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
	  -webkit-transform: skew(-12deg) rotate(-4deg);
	  -ms-transform: skew(-12deg) rotate(-4deg);
	  -o-transform: skew(-12deg) rotate(-4deg);
	  transform: skew(-12deg) rotate(-4deg);
	}
	&:after {
	  content: '';
	  position: absolute;
	  right: 20px;
	  bottom: 8px;
	  z-index: -1;
	  width: 90%;
	  height: 80%;
	  background: transparent;
	  @include box-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
	  -webkit-transform: skew(12deg) rotate(4deg);
	  -ms-transform: skew(12deg) rotate(4deg);
	  -o-transform: skew(12deg) rotate(4deg);
	  transform: skew(12deg) rotate(4deg);
	}
  }
}

// 分页
.m-page {
  margin-left: auto;
  margin-right: auto;
  clear: both;
  overflow: hidden;
  padding: 20px 0;
  text-align: center;
  .dux-page{
	display: inline-block;
  }
  a {
	float: left;
	background: #777;
	padding-left: 10px;
	padding-right: 10px;
	height: 39px;
	line-height: 39px;
	text-align: center;
	display: block;
	margin-right: 4px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	&:hover {
	  background: $hr-base;
	}
  }
  span {
	float: left;
	width: 37px;
	height: 39px;
	line-height: 39px;
	text-align: center;
	display: block;
	margin-right: 4px;
	color: #777;
  }
  .hidden {
	display: none;
  }
}
